/**
 * 
 */
package com.hson.demo.base.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author Hungel.zou
 * @time 2015年8月10日 下午12:09:14
 */
public class OperationDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2729488574795205037L;

	private static List<OperationDTO> list = new ArrayList<OperationDTO>();

	public OperationDTO(Integer value, String name) {
		this.value = String.valueOf(value);
		this.name = name;
	}
	
	public OperationDTO(String value, String name) {
		this.value = value;
		this.name = name;
	}

	private String value;

	private String name;

	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}

	/**
	 * @param value
	 *            the value to set
	 */
	public void setValue(String value) {
		this.value = value;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the list
	 */
	public static List<OperationDTO> getList() {
		return list;
	}

	/**
	 * @param list the list to set
	 */
	public static void setList(List<OperationDTO> list) {
		OperationDTO.list = list;
	}
}
